package com.glowdayz.glowmee.cmd;

/** 1차카테고리의 정보를 표현하는 Model 클래스 */
public class FirstCategoryCMD {
	
	private int idFirstCategory;
	private String firstCategoryText;
	private int sortKey;
	private int isDisplay;
	private String create_date;
	private String modified_date;
	
	public FirstCategoryCMD() {
	}
	
	/** 추가용 */
	public FirstCategoryCMD(String firstCategoryText, int sortKey, int isDisplay) {
		super();
		this.firstCategoryText = firstCategoryText;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
	}
	
	/** 수정용 */
	public FirstCategoryCMD(int idFirstCategory, String firstCategoryText,
			int sortKey, int isDisplay) {
		super();
		this.idFirstCategory = idFirstCategory;
		this.firstCategoryText = firstCategoryText;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
	}
	
	public FirstCategoryCMD(int idFirstCategory, String firstCategoryText,
			int sortKey, int isDisplay, String create_date, String modified_date) {
		super();
		this.idFirstCategory = idFirstCategory;
		this.firstCategoryText = firstCategoryText;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
		this.create_date = create_date;
		this.modified_date = modified_date;
	}

	public int getIdFirstCategory() {
		return idFirstCategory;
	}

	public void setIdFirstCategory(int idFirstCategory) {
		this.idFirstCategory = idFirstCategory;
	}

	public String getFirstCategoryText() {
		return firstCategoryText;
	}

	public void setFirstCategoryText(String firstCategoryText) {
		this.firstCategoryText = firstCategoryText;
	}

	public int getSortKey() {
		return sortKey;
	}

	public void setSortKey(int sortKey) {
		this.sortKey = sortKey;
	}

	public int getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	public String getModified_date() {
		return modified_date;
	}

	public void setModified_date(String modified_date) {
		this.modified_date = modified_date;
	}

	@Override
	public String toString() {
		return "FirstCategoryCMD [idFirstCategory=" + idFirstCategory
				+ ", firstCategoryText=" + firstCategoryText + ", sortKey="
				+ sortKey + ", isDisplay=" + isDisplay + ", create_date="
				+ create_date + ", modified_date=" + modified_date + "]";
	}
	
}
